	    <div class="span-15 colborder" id="content">
			<div class="span-12">


			<?=validation_errors(); ?>
			<?=form_open('main_url/index'); ?>
			<input type="hidden" name="id" value="<?=$id?>" />

			<fieldset>
            <legend><?=$legend?></legend>
            <p>
              <label for="name">名称</label><br>
			  <input type="text" class="text" id="name" name="name" value="<?=set_value('name')==""?$name:set_value('name');?>">
            </p>
			<p>
              <label for="url">URL</label><br>
			  <input type="text" class="text" id="url" name="url" value="<?=set_value('url')==""?$url:set_value('url');?>">
            </p>

			<p>
              <label for="type">分类</label><br>
			  <?=$sidebar?>
            </p>
			<p>
              <label for="order">排序</label><br>
			  <?=$order?>
            </p>

            <p>
			<?
			//echo form_submit('', 'Add');
			?>
              <input type="submit" value="提交">
              <input type="reset" value="重置">
            </p>

			</fieldset>
			</form>

			</div>
        </div>